﻿var calObjAttr = {
    showOn: "button",
    buttonImage: "http://yong.vn/Contents/Images/cal.gif",
    buttonImageOnly: true,
    changeMonth: true,
    changeYear: true,
    showMonthAfterYear: true,
    monthNamesShort: ['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12']
}

function InitProductMng() {
    $("#fromdate").datepicker(calObjAttr);
    $("#fromdate").datepicker("option", "altField", "#fromdate");
    $("#fromdate").datepicker("option", "altFormat", "dd/mm/yy");

    $("#todate").datepicker(calObjAttr);
    $("#todate").datepicker("option", "altField", "#todate");
    $("#todate").datepicker("option", "altFormat", "dd/mm/yy");
}

